package com.zzyl.nursing.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MyPageQueryAlertDataDto {
    private Integer pageNum;
    private Integer pageSize;
    @TableField(exist = false)
    private String deviceName;
    //结束报警时间
    @TableField(value = "end_time",exist = false)
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
    //报警数据ID
    @TableField(exist = false)
    private Long id;
    //开始报警时间
    @TableField(value = "start_time",exist = false)
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    //状态
    @TableField(exist = false)
    private String status;
}
